<?php /* Smarty version 2.6.16, created on 2009-04-15 06:10:23
         compiled from BrowseList.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'BrowseList.html', 7, false),array('function', 'url', 'BrowseList.html', 13, false),array('function', 'filter', 'BrowseList.html', 28, false),array('function', 'math', 'BrowseList.html', 32, false),array('function', 'str_replace', 'BrowseList.html', 164, false),array('function', 'module', 'BrowseList.html', 179, false),array('modifier', 'translate', 'BrowseList.html', 186, false),)), $this); ?>
<table style="width:100%;" cellspacing="0" cellpadding="4">
                <tr>
                    <td style="font-size:8pt;" class="border2">
                        <table style="width: 100%;cursor:pointer;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0" onclick="SwitchMenu('browse1','browsetext1')">
                            <tr>
                                <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                                <td class="block_header"><?php echo smarty_function_language(array('text' => 'browse'), $this);?>
 / <?php if ($this->_tpl_vars['sMode'] == 'new'):  echo smarty_function_language(array('text' => 'new_members'), $this); elseif ($this->_tpl_vars['sMode'] == 'updated'):  echo smarty_function_language(array('text' => 'updated_profiles'), $this); elseif ($this->_tpl_vars['sMode'] == 'featured'):  echo smarty_function_language(array('text' => 'featured_members'), $this); elseif ($this->_tpl_vars['sMode'] == 'online'):  echo smarty_function_language(array('text' => 'who_s_online_48'), $this); else:  echo smarty_function_language(array('text' => 'all_members'), $this); endif; ?></td>
                                <td style="text-align:right;padding-right:4px;"><span class="cur" id="browsetext1">[-]</span></td>
                            </tr>
                        </table>

                        <!-- START FORM -->
                        <form name="frm" method="post" action="<?php echo smarty_function_url(array('link' => 'public.browse.index','mode' => $this->_tpl_vars['sMode']), $this);?>
" style="margin:0px;">
                        <div class="submenu" id="browse1">
                            <br/>
                            <div id="formhide1">
                            <?php $this->assign('i', 1); ?>
                            <?php $_from = $this->_tpl_vars['aFields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['afields'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['afields']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['iKey'] => $this->_tpl_vars['aField']):
        $this->_foreach['afields']['iteration']++;
?>
                            <?php if ($this->_tpl_vars['i'] == 1): ?>
                                <table style="width:100%;margin-left:auto;margin-right:auto;" cellpadding="5" border="0">
                                <tr>
                            <?php endif; ?>
                            <?php $this->assign('i', $this->_tpl_vars['i']+1); ?>
                                    <td style="width:25%;font-size:8pt;" class="color">
                                    <?php $this->assign('field_name', "field".($this->_tpl_vars['aField']['custom_field_id'])); ?>
                                    <label for="<?php echo $this->_tpl_vars['field_name']; ?>
"><?php echo smarty_function_language(array('translate' => $this->_tpl_vars['aField']['custom_field_name']), $this);?>
:</label>
                                    <div style="padding-top:5px;padding-left:5px;">
                                        <?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter'][$this->_tpl_vars['field_name']],'id' => $this->_tpl_vars['field_name'],'translate' => 'true'), $this);?>

                                    </div>
                                    </td>
                                <?php $this->assign('iSpan', $this->_foreach['afields']['total']%4); ?>
                                <?php echo smarty_function_math(array('equation' => "a-b",'a' => 4,'b' => $this->_tpl_vars['iSpan'],'assign' => 'iSpan'), $this);?>

                                <?php if (( ( $this->_foreach['afields']['total']-1 ) == $this->_tpl_vars['iKey'] ) && ( $this->_tpl_vars['iSpan'] != 4 )): ?>
                                    <td style="width:<?php echo $this->_tpl_vars['iSpan']*25; ?>
%;font-size:8pt;" class="color" colspan="<?php echo $this->_tpl_vars['iSpan']; ?>
"></td>
                                    <?php $this->assign('i', 5); ?>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['i'] == 5): ?>
                                </tr>
                                </table>
                                <br />
                                <?php $this->assign('i', 1); ?>
                                <?php endif; ?>
                            <?php endforeach; endif; unset($_from); ?>
<table style="width:100%;margin-left:auto;margin-right:auto;" class="" cellpadding="5">
<tr>
<td style="width:25%;font-size:8pt;" class="color">

<label for="location"><?php echo smarty_function_language(array('text' => 'location'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
	<?php if (getParam ( 'us_states' )): ?>
	<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['location'],'style' => "width:120px;",'onchange' => "checkUsMode();",'any' => "core.any",'id' => 'fldCountrySel'), $this);?>

	<?php else: ?>
	<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['location'],'style' => "width:120px;",'any' => "core.any",'id' => 'fldCountrySel'), $this);?>

	<?php endif; ?>
	</div>
</td>
<?php if ($this->_tpl_vars['bUs']): ?>
<td style="width:25%;font-size:8pt;" class="color">
<label for="state"><?php echo smarty_function_language(array('text' => 'state'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
	<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['state'],'style' => "width:120px;",'any' => "core.any",'id' => 'fldStateSel'), $this);?>

	</div>
</td>
<td style="width:25%;font-size:8pt;" class="color">
<label for="zip"><?php echo smarty_function_language(array('text' => 'zip_code'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
	<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['zip'],'style' => "width:120px;",'id' => 'fldZip'), $this);?>

	</div>
</td>
<?php endif; ?>
<td style="width:25%;font-size:8pt;" class="color">

<label for="display"><?php echo smarty_function_language(array('text' => 'display'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
<select name="display" id="display">
		<option value=""<?php if (! $this->_tpl_vars['bDisplay']): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'name_and_pics'), $this);?>
</option>
		<option value="1"<?php if ($this->_tpl_vars['bDisplay']): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'pics_and_info'), $this);?>
</option>
 </select>
	</div>

</td>
<?php if (! $this->_tpl_vars['bUs']): ?>
<td colspan="2" style="width:50%;"></td>
<?php endif; ?>
</tr>
</table>

<br />

<table style="width:100%;margin-left:auto;margin-right:auto;" cellpadding="5">
<tr>
<td style="font-size:8pt;  width:25%;" class="color">

	<label for="age_from"><?php echo smarty_function_language(array('text' => 'age_from'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
		<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['age_from'],'style' => "width:50px;",'id' => 'age_from'), $this);?>

		&nbsp;<?php echo smarty_function_language(array('text' => 'to'), $this);?>
&nbsp;
		<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['age_to'],'style' => "width:50px;",'id' => 'age_to'), $this);?>

	</div>

</td></td><td style="font-size:8pt; width:25%;" class="color">

	<label for="age_to"><?php echo smarty_function_language(array('text' => 'gender'), $this);?>
:</label>
	<div style="padding-top:5px;padding-left:5px;">
		<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['gender'],'style' => "width:65px;",'id' => 'gender','any' => "core.any"), $this);?>

	</div>

</td><td style="font-size:8pt; width:50%;" class="color">

	<?php echo smarty_function_language(array('text' => 'keyword_search_for'), $this);?>
: 
	<div style="padding-top:5px;padding-left:5px;">	
		<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['fields_list'],'translate' => 'true'), $this);?>
&nbsp;<?php echo smarty_function_filter(array('data' => $this->_tpl_vars['aFilter']['field_value'],'style' => "width:120px;",'onkeydown' => "if (event.keyCode == 13) document.getElementById('submitForm').click();"), $this);?>

	</div>

</td>
</tr>
</table>

<div style="padding:5px;text-align:right;" class="">
    <input id="submitForm" name="act[browse_show]" type="submit" value="   <?php echo smarty_function_language(array('text' => 'search_1297'), $this);?>
   " class="mainmenu6" onclick="document.getElementById('formhide1').style.display='none';document.getElementById('formhide2').style.display='';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" />
    <input name="act[browse_reset]" type="submit" value="    <?php echo smarty_function_language(array('text' => 'reset'), $this);?>
    " class="mainmenu6" onclick="document.getElementById('formhide1').style.display='none';document.getElementById('formhide2').style.display='';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" />
</div>

</div>
</div>
</form>
<!-- END FORM -->


<div style="text-align:center;display:none;" id="formhide2">
<table style="margin-left:auto;margin-right:auto;">
<tr>
<td style="font-size:10pt;" class="color">
<b><?php echo smarty_function_language(array('text' => 'updating_browse_settings'), $this);?>
</b>
</td><td>
<table class="pbar3" cellpadding="0" cellspacing="0">
<tr><td>
<span id="progress1">&nbsp; &nbsp;</span>
<span id="progress2">&nbsp; &nbsp;</span>
<span id="progress3">&nbsp; &nbsp;</span>
<span id="progress4">&nbsp; &nbsp;</span>

<span id="progress5">&nbsp; &nbsp;</span>
<span id="progress6">&nbsp; &nbsp;</span>
<span id="progress7">&nbsp; &nbsp;</span>
<span id="progress8">&nbsp; &nbsp;</span>
<span id="progress9">&nbsp; &nbsp;</span>
<span id="progress10">&nbsp; &nbsp;</span>
<span id="progress11">&nbsp; &nbsp;</span>
</td></tr></table>
</td></tr></table>
<script type="text/javascript">do_prog(11,200);</script>

<br/>
</div>

</td>
</tr>
</table>

<br />

<?php if ($this->_tpl_vars['bFiltered'] && $this->_tpl_vars['iCnt']): ?>
<div style="text-align:center;font-size:9pt;" class="color"><?php echo smarty_function_str_replace(array('text' => "`your_browse_settings_foun`",'iCnt' => ($this->_tpl_vars['iCnt'])), $this);?>
</div>
<?php endif; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager_nav_button.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- START BROWSE -->
<?php if (count ( $this->_tpl_vars['aItems'] )):  if ($this->_tpl_vars['bDisplay']): ?>
<table style="width:100%;" cellpadding="8" cellspacing="0">
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<tr class="<?php if ($this->_tpl_vars['key'] % 2 == 0): ?>border13<?php endif; ?>">
<td style="vertical-align:middle;" class="<?php if ($this->_tpl_vars['key'] % 2 == 0): ?>border13<?php endif; ?>">
<table style="width:100%;"><tr><td style="width:30%;text-align:center;">

<a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
    <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aItem']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aItem']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

</a>

</td><td style="width:70%;vertical-align:top;font-size:8pt;" class="color">
<b><?php echo smarty_function_language(array('text' => 'username'), $this);?>
</b>: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
<?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
 <br />
<?php if ($this->_tpl_vars['aItem']['location']): ?><div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'location'), $this);?>
</b>: <?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['location'])) ? $this->_run_mod_handler('translate', true, $_tmp, 'country') : smarty_modifier_translate($_tmp, 'country')); ?>
</div><?php endif; ?>
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'gender'), $this);?>
</b>: <?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['gender'])) ? $this->_run_mod_handler('translate', true, $_tmp, 'gender') : smarty_modifier_translate($_tmp, 'gender')); ?>
</div>
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'age'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['age']; ?>
 </div>
</td></tr></table>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php else: ?>
<table style="width:100%;" cellpadding="8" cellspacing="0">
<tr>
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<td style="text-align:center;vertical-align:middle;">
<table style="margin-left:auto;margin-right:auto;"><tr><td style="font-size:8pt;text-align:center;" class="color">
<div><b><a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
<?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
</b></div>

<a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
    <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aItem']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aItem']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

</a>
<?php if (isStaff ( )): ?>
<div><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','makefeature' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php if ($this->_tpl_vars['aItem']['feature']):  echo smarty_function_language(array('text' => 'unmake'), $this); else:  echo smarty_function_language(array('text' => 'make'), $this); endif; ?> <?php echo smarty_function_language(array('text' => 'featured'), $this);?>
 ]</a></div>
<?php endif; ?>
</td>
</tr>
</table></td>
<?php if ($this->_tpl_vars['key'] % 3 == 2): ?>
</tr>
<tr>
<?php endif;  if (($this->_foreach['aitems']['iteration'] == $this->_foreach['aitems']['total']) == true): ?>
<td></td>
<?php endif;  endforeach; endif; unset($_from); ?>
</tr>
</table>
<?php endif;  else:  if ($this->_tpl_vars['sMode'] == 'updated'): ?>
<div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_updated_prof'), $this);?>
</div>
<?php else:  if ($this->_tpl_vars['bFiltered']): ?>
<form name="frm" method="post" action="<?php echo smarty_function_url(array('link' => 'public.browse.index','mode' => $this->_tpl_vars['sMode']), $this);?>
" style="margin:0px;">
<div class="message_info">
	<?php echo smarty_function_language(array('text' => 'Mod_Account.no_members_search_filter'), $this);?>

	<div style="padding:6px;"><input name="act[browse_reset]" type="submit" value="<?php echo smarty_function_language(array('text' => 'Mod_Account.reset_search_filter'), $this);?>
" class="mainmenu6" onclick="document.getElementById('formhide1').style.display='none';document.getElementById('formhide2').style.display='';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></div>
</div>
</form>
<?php elseif ($this->_tpl_vars['sMode'] == 'new'): ?>
<div class="message_info"><?php echo smarty_function_language(array('text' => 'Mod_Account.no_new_members'), $this);?>
</div>
<?php elseif ($this->_tpl_vars['sMode'] == 'featured'): ?>
	<div class="message_info"><?php echo smarty_function_language(array('text' => 'Mod_Account.no_featured_members'), $this);?>
</div>
<?php else: ?>
<div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_members_yet'), $this);?>
</div>
<?php endif;  endif;  endif; ?>
<!-- START BROWSE -->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager_nav_button.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  if (getParam ( 'us_states' )): ?><script type="text/javascript">checkUsMode();</script><?php endif; ?>